<template>
  <div class="employees-container">
    <div class="app-container">
      <el-card>
        <!-- {{ $route.params.id }}路径传参 -->
        {{ id }}
        <!-- tab栏切换 -->
        <el-tabs>
          <el-tab-pane label="登录账户设置">
            <login-setting />
          </el-tab-pane>
          <el-tab-pane label="个人详情">
            <user-info />
          </el-tab-pane>
          <el-tab-pane label="岗位信息">
            <job-info />
          </el-tab-pane>
        </el-tabs>
      </el-card>
    </div>
  </div>
</template>
<script>
import LoginSetting from './components/login-setting'
import UserInfo from './components/user-info'
import JobInfo from './components/job-info'
export default {
  name: 'VueHrDetail',
  components: {
    JobInfo, LoginSetting, UserInfo
  },
  data() {
    return {
      id: this.$route.query.id
    }
  },

  mounted() {

  },

  methods: {

  }
}
</script>

<style lang="scss" scoped>

</style>
